feat: add core:audio2text:subtitles task type, register file action#577
Open
edward-ly wants to merge 1 commit into
Open
feat: add core:audio2text:subtitles task type, register file action#577edward-ly wants to merge 1 commit into
edward-ly wants to merge 1 commit into
Conversation
43ab519 to
5284315
Compare
1 task
1f404c4 to
83024f3
Compare
1 task
Contributor
Author
|
Question: do we want to try to maintain compatibility with NC 33 on the |
Signed-off-by: Edward Ly <contact@edward.ly>
83024f3 to
7bddb9c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Registers a file action and adds support for the new
core:audio2text:subtitlestask type. TheOCP\TaskProcessing\TaskTypes\AudioToTextSubtitlesclass is imported conditionally to maintain compatibility with NC versions older than 35.To Fix
GET https://nextcloud.local/ocs/v2.php/apps/assistant/api/v1/file/104/inforeturning a 404 status.Limitations
Currently, the Save this media button for output files automatically appends the
.srtextension for.srtfiles, but not for.vttfiles. This seems to be a limitation of the PHP Mimey package as it doesn't recognize thetext/vttMIME type.By contrast, the Download this media button automatically appends the
.vttextension for.vttfiles, but not for.srtfiles for me. Since the browser/OS looks to be doing the MIME type to extension conversion at that point, I'm not sure if there's anything we can do there.🤖 AI (if applicable)